package com.un.ebs.purchase.domain;

import com.un.ebs.product.enums.ProductPurchaseTypeEnum;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (PurchaseOrderDeliverPlanExt)表实体类
 *
 * @author liubo
 * @since 2020-07-19 21:59:30
 */
@Data
@Component
@TableName("v_purchase_order_deliver_plan_ext")
@SuppressWarnings("serial")
public class PurchaseOrderDeliverPlanExt extends Model<PurchaseOrderDeliverPlanExt> {


    @DbField(name = "order_id", length = 40, precision = 0)
    private String orderId;

    @DbField(name = "order_code", length = 100, precision = 0)
    private String orderCode;

    @DbField(name = "sku_id", length = 40, precision = 0)
    private String skuId;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "sku_name", length = 2100, precision = 0)
    private String skuName;

    @DbField(name = "purchase_type", length = -1, precision = 0)
    private ProductPurchaseTypeEnum purchaseType;

    @DbField(name = "supplier_ent_id", length = 40, precision = 0)
    private String supplierEntId;

    @DbField(name = "supplier_ent_name", length = 100, precision = 0)
    private String supplierEntName;

    @DbField(name = "deliver_plan_count", length = 38, precision = 4)
    private Double deliverPlanCount;

    @DbField(name = "deliver_real_count", length = 38, precision = 4)
    private Double deliverRealCount;

    @DbField(name = "deliver_time", length = -1, precision = 0)
    private Date deliverTime;

    @DbField(name = "is_services", length = -1, precision = 0)
    private boolean isServices;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;

    @DbField(name = "deliver_diff_count", length = 38, precision = 4)
    private Double deliverDiffCount;


}